ArcGIS Runtime SDK for WPF - Library Reference
LengthsTaskAsync(IList<Graphic>,CancellationToken) Method
See Also 
ESRI.ArcGIS.Client.Tasks Namespace > GeometryService Class > LengthsTaskAsync Method : LengthsTaskAsync(IList<Graphic>,CancellationToken) Method

graphics
The graphics used to calculate lengths.
cancellationToken
The cancellation token.
Calculates the lengths of each specified polyline.

Syntax

Visual Basic (Declaration) 
Public Overloads Function LengthsTaskAsync( _
   ByVal graphics As IList(Of Graphic), _
   ByVal cancellationToken As CancellationToken _
) As Task(Of LengthsResult)

Parameters

graphics
The graphics used to calculate lengths.
cancellationToken
The cancellation token.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.